package classload;

public class SuperClass {
    static {
        System.out.println("super class init");
    }
    public static int value = 10;
}

class SubClass extends SuperClass {
    static {
        System.out.println("sub class init");
    }
}

class Test {
    public static void main(String[] args) {
        System.out.println(SubClass.value);
    }
}
